package com.xiaojie.service;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
public class MemberService {
    @GetMapping("/getMember")
    public String getMember(String userId, HttpServletRequest request){
        String serverPort = request.getHeader("serverPort");
        return "我是会员服务。。。。。"+serverPort;
    }
}
